<%@include file="cabecera2.jsp"%>
<form name="forml2" method="post" action="UsuarioInsertarServlet"/>
<script Language="Javascript">


 function verificarEntrada(control){

     if(control.value=='')
         alert('Debe de llenar el cuadro de texto');
 }

function validar(){
    if (document.form1.clave.value.length<7)
  {
    alert("Ingrese al menos 7 caracteres");
    document.form1.clave.value='';
  }
}
</script>

<p align="center" style="font-family: &quot;Bradley Hand ITC&quot;">Crear nuevo usuario</p>


<table width="284" border="1" align="center" bgcolor="#99CC99">
  <tr>
    <td width="120"><span style="font-family: &quot;Bradley Hand ITC&quot;">Nombre</span></td>
    <td width="148"><label>
            <input type="text" name="Nombres" id="Nombres" onBlur="verificarEntrada(this)" />
    </label></td>
  </tr>
  <tr>
    <td><span style="font-family: &quot;Bradley Hand ITC&quot;">Apellido Paterno</span></td>
    <td><input type="text" name="paterno" id="paterno" onBlur="verificarEntrada(this)" /></td>
  </tr>
  <tr>
    <td><span style="font-family: &quot;Bradley Hand ITC&quot;">Apellido Materno</span></td>
    <td><input type="text" name="materno" id="materno" onBlur="verificarEntrada(this)" /></td>
  </tr>
  <tr>
    <td><span style="font-family: &quot;Bradley Hand ITC&quot;">Ide Usuario</span></td>
    <td><input type="text" name="idUsuario" id="idUsuario" onBlur="verificarEntrada(this)" /></td>
  </tr>
  <tr>
    <td><span style="font-family: &quot;Bradley Hand ITC&quot;">Contraseña </span></td>
    <td><input type="password" name="clave" id="clave" /></td>
  </tr>
  <tr>
    <td><span style="font-family: &quot;Bradley Hand ITC&quot;">Area</span></td>
    <td><input type="text" name="area" id="area" onBlur="verificarEntrada(this)" /></td>
  </tr>
  <tr>
    <td><span style="font-family: &quot;Bradley Hand ITC&quot;">Grupo</span></td>
    <td><input type="text" name="grupo" id="grupo" /></td>
  </tr>
  <tr>
    <td><span style="font-family: &quot;Bradley Hand ITC&quot;">Mail</span></td>
    <td><input type="text" name="mail" id="mail" /></td>
  </tr>
</table>
<p align="center">
  <label>  </label>
</p>
<p align="center">&nbsp;</p>
<form name="form1">
  <div align="center">
      <input type="submit" name="button" id="button" value="Enviar" />
    <input type="reset" name="button2" id="button2" value="Borrar" />  
    <input type="button" name="button3" id="button3" value="Regresar" onClick="window.location='mantenimiento_users.jsp'" />
  </div>
</form>
  
  <div align="center"></div>
<p align="center">
  <label></label>
  <label></label>
  <label></label>
</p>
<%@include file="pie2.jsp"%>